.class public Lcom/jcraft/jsch/RequestSubsystem;
.super Lcom/jcraft/jsch/Request;
.source "RequestSubsystem.java"


# instance fields
.field private d:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/jcraft/jsch/Request;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/jcraft/jsch/RequestSubsystem;->d:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a(Lcom/jcraft/jsch/Session;Lcom/jcraft/jsch/Channel;)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .line 4
    invoke-super {p0, p1, p2}, Lcom/jcraft/jsch/Request;->a(Lcom/jcraft/jsch/Session;Lcom/jcraft/jsch/Channel;)V

    .line 5
    new-instance p1, Lcom/jcraft/jsch/Buffer;

    invoke-direct {p1}, Lcom/jcraft/jsch/Buffer;-><init>()V

    .line 6
    new-instance v0, Lcom/jcraft/jsch/Packet;

    invoke-direct {v0, p1}, Lcom/jcraft/jsch/Packet;-><init>(Lcom/jcraft/jsch/Buffer;)V

    .line 7
    invoke-virtual {v0}, Lcom/jcraft/jsch/Packet;->b()V

    const/16 v1, 0x62

    .line 8
    invoke-virtual {p1, v1}, Lcom/jcraft/jsch/Buffer;->a(B)V

    .line 9
    invoke-virtual {p2}, Lcom/jcraft/jsch/Channel;->g()I

    move-result p2

    invoke-virtual {p1, p2}, Lcom/jcraft/jsch/Buffer;->c(I)V

    const-string p2, "subsystem"

    .line 10
    invoke-static {p2}, Lcom/jcraft/jsch/Util;->c(Ljava/lang/String;)[B

    move-result-object p2

    invoke-virtual {p1, p2}, Lcom/jcraft/jsch/Buffer;->d([B)V

    .line 11
    invoke-virtual {p0}, Lcom/jcraft/jsch/Request;->a()Z

    move-result p2

    int-to-byte p2, p2

    invoke-virtual {p1, p2}, Lcom/jcraft/jsch/Buffer;->a(B)V

    .line 12
    iget-object p2, p0, Lcom/jcraft/jsch/RequestSubsystem;->d:Ljava/lang/String;

    invoke-static {p2}, Lcom/jcraft/jsch/Util;->c(Ljava/lang/String;)[B

    move-result-object p2

    invoke-virtual {p1, p2}, Lcom/jcraft/jsch/Buffer;->d([B)V

    .line 13
    invoke-virtual {p0, v0}, Lcom/jcraft/jsch/Request;->a(Lcom/jcraft/jsch/Packet;)V

    return-void
.end method

.method public a(Lcom/jcraft/jsch/Session;Lcom/jcraft/jsch/Channel;Ljava/lang/String;Z)V
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .line 1
    invoke-virtual {p0, p4}, Lcom/jcraft/jsch/Request;->a(Z)V

    .line 2
    iput-object p3, p0, Lcom/jcraft/jsch/RequestSubsystem;->d:Ljava/lang/String;

    .line 3
    invoke-virtual {p0, p1, p2}, Lcom/jcraft/jsch/RequestSubsystem;->a(Lcom/jcraft/jsch/Session;Lcom/jcraft/jsch/Channel;)V

    return-void
.end method
